package PlanetDefender;

import phonegame.*;

public class Turret extends Building{

	private Weapon weapon;
	
	public Turret(String name, int price, int health, int x, int y, Weapon weapon) {
		super(name, price, health,x ,y);
		this.weapon = weapon;
		this.shoot();
	}
	
	public void shoot() {
		this.weapon.shoot();
	}
}

